package com.bush.mall.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.coupon.entity.SeckillSessionEntity;

/**
 * 秒杀活动场次
 * @author RUN
 * @date 2022-11-29
 */
public interface SeckillSessionService extends IService<SeckillSessionEntity> {

    public static final String BEAN_ID = "mall.seckillSessionService";

    /**
     * 分页查询秒杀活动场次列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建秒杀活动场次表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveSeckillSession(SeckillSessionEntity seckillSession);


    /**
     * 修改秒杀活动场次表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateSeckillSession(SeckillSessionEntity seckillSession);

    /**
     * 删除指定ID的秒杀活动场次
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteSeckillSession(Long id);

}

